package com.howie.parnote.service.impl;


import com.howie.parnote.dao.RoleModuleMapper;
import com.howie.parnote.module.RoleModule;
import com.howie.parnote.service.RoleService;
import com.howie.parnote.service.common.ApplicationDefaultServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>Title: parnote</p>
 * <p>
 * Description: parnote
 * </p>
 *
 * @author huangyan
 *         Created by HY on 2014/12/31 0031.
 * @version v1.0.0
 */
@Service
public class RoleServiceImpl extends ApplicationDefaultServiceImpl<RoleModule> implements RoleService {
	@Autowired
	private RoleModuleMapper roleModuleMapper;
	@Override
	public RoleModule findByCode(String roleCode) {
		return roleModuleMapper.findByCode(roleCode);
	}
}
